/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.score.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fosung.frame.common.persistence.CrudDao;
import com.fosung.frame.common.persistence.annotation.MyBatisDao;
import com.fosung.frame.modules.score.entity.PartyScoreDetail;

/**
 * 党组织积分内容DAO接口
 * @author ygl
 * @version 2017-09-03
 */
@MyBatisDao
public interface PartyScoreDetailDao extends CrudDao<PartyScoreDetail> {
	
	public PartyScoreDetail  getSqcs(PartyScoreDetail partyScoreDetail);
		
	public int insert(PartyScoreDetail partyScoreDetail);

	public int deleteByOrganizeLifeId(String organizeLifeId);	
	
	public int getPartyCount(String id);
	
	public List<PartyScoreDetail> findPartyScoreDetailList(PartyScoreDetail partyScoreDetail);

	public PartyScoreDetail findPartyTotalScore(PartyScoreDetail partyScoreDetail);	
	
	public void updateStatusAndScore(PartyScoreDetail partyScoreDetail);

	public void batchAgreePartyScoreDetail(@Param("organizeLifeId") String organizeLifeId);

	public PartyScoreDetail findPartyNoShTotalScore(PartyScoreDetail partyScoreDetail);

	
}